Inside Macintosh: Sound

| Previous | Chapter contents | Chapter top | Section top | Next |

Sound Manager Routines

This section describes the routines provided by the Sound Manager. You can use these routines to

The section "Application-Defined Routines" describes routines that your application might need to define, including callback procedures, completion routines, and doubleback procedures.

Assembly-Language Note

Most Sound Manager routines are accessed through the _SoundDispatch selector. However, the SndAddModifier , SndControl , SndDisposeChannel , SndDoCommand , SndDoImmediate , SndNewChannel , and SndPlay functions and the SysBeep procedure are accessed through their own trap macros.

Playing Sound Resources

Playing From Disk

Allocating and Releasing Sound Channels

Sending Commands to a Sound Channel

Obtaining Information

Controlling Volume Levels

Compressing and Expanding Audio Data

Managing Double Buffers

Performing Unsigned Fixed-Point Arithmetic

Linking Modifiers to Sound Channels


© 1998 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |